package com.sitech.ibnms.util.charts.fusion;

import java.util.ArrayList;
import java.util.List;

public class Test {

	public static FusionCyliderChartParameter test(){
		FusionCyliderChartParameter parameter = new FusionCyliderChartParameter();
		//����ͼ���е���ʾ����
		List annotationList = new ArrayList();
		ChartAnnotation annotation = new ChartAnnotation();
		annotation.setAlign("left");
		annotation.setFont("Verdana");
		annotation.setFontcolor(FusionChartCommon.randomColor());
		annotation.setFontSize(10);
		annotation.setLabel("GB");
		annotation.setType("text");
		annotation.setVAlign("left");
		annotation.setXPos(20);
		annotation.setYPos(0);
		
		annotationList.add(0,annotation);
		
		annotation = new ChartAnnotation();
		annotation.setAlign("left");
		annotation.setFont("Verdana");
		annotation.setFontcolor(FusionChartCommon.randomColor());
		annotation.setFontSize(10);
		annotation.setLabel("��ʹ�ã�"+"%25");
		annotation.setType("text");
		annotation.setVAlign("left");
		
		annotation.setXPos(30);
		annotation.setYPos(95);
		annotationList.add(1,annotation);
		
		parameter.setList(annotationList);
		
		System.out.print(
						(ChartAnnotation)(parameter.getList().get(0))
		);
		return parameter;
	}
	
	public static void main(String[] args){
		 Test.test();
	}
}
